package com.citicup.backend.service.FundService.FundComparator;

import com.citicup.backend.service.FundService.FundSortInfo;
import lombok.Getter;

import java.util.ArrayList;
import java.util.Comparator;

public class FundComparator {
    @Getter
    static ArrayList<Comparator<FundSortInfo>> fundComparator = new ArrayList<>();

    static {
        fundComparator.add(new FundScaleComp());
        fundComparator.add(new YearRateComp());
        fundComparator.add(new ManagerYearComp());
        fundComparator.add(new XPRateComp());
//        fundComparator.add(new InfoRateComp());
//        fundComparator.add(new MaxRetraceRateComp());
        fundComparator.add(new YearFlucRateComp());
    }
}
